using System;

namespace JanusLibAing.EventsArg
{
    /// <summary>
    /// Event argument with string and numeric id
    /// </summary>
    public class DescriptionEnumEventArgs : EnumEventArgs
    {
        private readonly string description = "";

        public DescriptionEnumEventArgs(Enum id)
            : base(id)
        {
        }

        public DescriptionEnumEventArgs(string description) 
            : base(default(Enum))
        {
            this.description = description;
        }

        public DescriptionEnumEventArgs(Enum id, string description) 
            : base(id)
        {
            this.description = description;
        }

        public string Description
        {
            get { return description; }
        }
    }
}